import request from '@/utils/request'

function requestPermission(requestUrl, payload) {
  return request(requestUrl, payload, 'permissionService')
}

/*登录*/
export function login(params) {
  return request('login',params)
}


//忘记密码
export function getLoginCode(params) {
  return request('getVerifyCode', params)
}

/*左侧资源菜单*/
export function getLeftMenu(params) {
  return requestPermission('sysUser/actionAndMenu', params);
}













